# -*- mode: snippet; coding: utf-8 -*-
# name: jQuery Click
# key: click
# group: jquery
# contributor: David Miller <david@deadpansincerity.com>
# --
$('${1:#myid}').click( function(e) {
  console.log('${1:$(yas/substr yas-text "[^ ]*")}.click called');
  e.preventDefault();
  $0
});
